<#-- 资源管理数据列表页 -->
<#import layoutTemplet as layout>
<#assign contextPath=request.getContextPath()>
<#-- 调用布局指令 -->
<@layout.html>
<#escape x as x?html>

<link rel="stylesheet" href="${contextPath}/static/component/ztree/css/metroStyle/metroStyle.css" type="text/css">
<style type="text/css">
    div#rMenu {position:absolute; visibility:hidden; top:0; background-color: #555;text-align: left;padding: 2px;}
    div#rMenu ul li{
        margin: 1px 0;
        padding: 0 5px;
        cursor: pointer;
        list-style: none outside none;
        background-color: #DFDFDF;
    }
</style>

<#-- 导航区 -->
<div class="breadcrumbs ace-save-state breadcrumbs-fixed" id="breadcrumbs">
    <ul class="breadcrumb">
        <li>
            <i class="ace-icon fa fa-home home-icon"></i>
            <span class="grey">权限管理</span>
        </li>
        <li class="active">
            <span class="grey">资源信息</span>
        </li>
    </ul>
</div>

<div class="page-content">
    <div class="row">
        <div class="col-xs-12">
            <div class="widget-box">
                <div class="widget-header">
                    <h5 class="widget-title">
                        <i class="ace-icon fa fa-list-alt"></i>
                        数据列表
                    </h5>
                </div>
                <div class="widget-body">
                    <div class="widget-toolbox padding-8 clearfix">
                        <div class="mfui-btn-group">
                            <button class="mfui-btn mfui-btn-normal" id="addBtn">新增</button>
                            <button class="mfui-btn mfui-btn-normal" id="editBtn">修改</button>
                            <button class="mfui-btn mfui-btn-normal" id="deleteBtn">删除</button>
                        </div>
                        <button id="expandAllBtn" class="mfui-btn mfui-btn-primary hide">
                            <i class="ace-icon fa fa-chevron-down"></i>
                            展开全部
                        </button>
                        <button id="foldAllBtn" class="mfui-btn mfui-btn-primary">
                            <i class="ace-icon fa fa-chevron-up"></i>
                            折叠全部
                        </button>
                    </div>
                    <div class="jqgrid-container">
                        <ul id="resourceTree" class="ztree"></ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/javascript" src="${contextPath}/static/component/ztree/js/jquery.ztree.all.js"></script>
<script src="${contextPath}/public/js/auth/resource/resource_info_index.js"></script>
</#escape>
</@layout.html>